
<div class="layout_confession_confession">
<?php if( $this->paginator->getTotalItemCount() > 0 ): ?>
  <ul>
  <?php foreach( $this->paginator as $item ): ?>    
     <li>
      <?php echo $this->htmlLink('javascript:void(0)', '<img src="'. $this->baseUrl() .'/application/modules/Icustom/externals/images/someone.png" alt="Someone" class="thumb_icon item_photo_user item_nophoto">', array('class' => 'newestmembers_thumb')) ?>
      <div class='newestmembers_info'>
        <div class='newestmembers_name'>
          <?php echo '<span class="bodytext">' .$item->body .'</span>';?>
        </div>
        <div class='newestmembers_date'>
          <?php echo $this->translate('Posted');?> <?php echo $this->timestamp($item->date) ?>
        </div>
      </div>
    </li>
  <?php endforeach; ?>
</ul>
<?php endif; ?>
</div>
<?php echo $this->paginationControl($this->paginator, null, null, array(
  'pageAsQuery' => true,
  'query' => $this->formValues,
  //'params' => $this->formValues,
)); ?>

